3 REM <CTRL-M><CTRL-M>* * * HOME LEDGER * * *<CTRL-M><CTRL-M> BY ALAN LACY<CTRL-M> 16667 SE 17<CTRL-M> BELLEVUE, WA 98008<CTRL-M><CTRL-M> VERSION CURRENT 1-6-83<CTRL-J>
4 REM <CTRL-M><CTRL-M>'INPUT NEARLY ANYTHING SUBR<CTRL-M> FROM 'CALL APPLE' JAN82 P42<CTRL-J>
3600 VTAB 1: GOSUB 90: HTAB 1: PRINT "PRESENT DATA FOR FIELD ";K;":": GOTO 3100
3700 FOR I = K TO N
3705 IF I = 0 THEN 3750
3710 NR(I,4) = NR(I -1,4):NR(I,5) = NR(I -1,5): IF NR(I,0) <3 THEN 3800
3720 L = NR(I,0)
3730 NR(I,L) = NR(I,L) +NR(I,2) -NR(I,3)
3740 NR(I,7) = NR(I,4) +NR(I,5)
3750 NEXT : RETURN
3800 T = NR(I,8)
3810 NR(I,4) = NR(I,4) -T:NR(I,5) = NR(I,5) +T
3820 NR(I,7) = NR(I,4) +NR(I,5)
3830 GOTO 3750
3999 REM <CTRL-M><CTRL-M><CTRL-M>*** PRINT REPORTS ***<CTRL-J>
4000 PRINT D$;"RUN LEDGER REPORT"
5000 DATA 1. AUTO INSURE,2. AUTO EXPENSE,3. BOOKS/MAGS,4. BUSINESS EXP.,5. CLOTHING,6. CREDIT CARD
5010 DATA 7. DONATIONS,8. ELECTRICITY,9. ENTERTAINMENT,10. FED WITH TAX,11. FICA ,12. FOOD ,13. GASOLINE,14. GIFTS
5020 DATA 15. HEATING,16. HOBBY,17. HOME MAINT,18. INTEREST INCOME,19. MISC EXPENSE,20. MISC INCOME
5030 DATA 21. MORTGAGE,22. PETTY CASH,23. RETIRE (IRA),24. RETIRE (WORK),25. TELEPHONE,26. UNION DUES,27. VACATION,28. WAGES,29. WASTE-GARBAGE,30. WATER/SEWAGE
6000 CALL -936
6010 PRINT "* * * INSTRUCTIONS * * *": PRINT : PRINT "ACCOUNT TRANSACTION - USE TO ADD, SUB- TRACT, OR TRANSFER MONIES. DATA FILE MUST FIRST BE PRESENT.": PRINT
6020 PRINT "START NEW MONTH - CREATES NEW MONTH DATA FILE FROM OLD MONTH DATA FILE": PRINT
6030 PRINT "INITIALIZE DATA - CREATES MONTH.DATA FILE WHEN NONE EXISTED.": PRINT
6040 PRINT "PRINT REPORTS - LOADS 'LEDGER REPORT' PROGRAM TO PRINT REPORTS.": PRINT
6045 PRINT "HIT <RETURN> TO CONTINUE.": GET A$: PRINT
6050 PRINT "CHANGE DATA - ALLOWS EDITING OF INCOR- RECT DATA. WILL UPDATE (CORRECT) DATA FROM FIELD EDITED TO EOF.": PRINT
6060 PRINT "CRT LISTING - DISPLAYS FIELDS CURRENTLY IN DATA FILE. LETS YOU KNOW WHERE YOU LEFT OFF FROM LAST DATA ENTRY SESSION.": PRINT
6070 PRINT "EXIT - QUIT PROGRAM.": PRINT
6080 PRINT "HELP - YOU'RE LOOKING AT IT.": PRINT
6090 PRINT "HIT <RETURN> FOR MAIN MENU": GET A$: GOTO 800